<?php
class  Default_View_Filter_ProductCategories
{
	private $_error;
	private $_messagesError;
	public function __construct($data)
	{
		$catOb = new Henry_ProductCategories_Categories();
		$urlArr = $catOb->getCategoriesUrl();
		
		$this->_error = count($this->_messagesError)==0?true:false;	
	}
	public function isValid()
	{
		return $this->_error;
	}
	public function getMessages()
	{
		return $this->_messagesError;
	}
}

